From 5d5f5c9fbaa7a6d4f567a26a4b39749dee356a49 Mon Sep 17 00:00:00 2001 From: Julian Laubstein Date: Mon, 23 Nov 2015 18:20:37 +0100 Subject: Fixed display of helpmessage --- src/Server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Server.cpp b/src/Server.cpp index f9727b978..5c050c215 100644 --- a/src/Server.cpp +++ b/src/Server.cpp @@ -597,7 +597,7 @@ void cServer::PrintHelp(const AStringVector & a_Split, cCommandOutputCallback & for (AStringPairs::const_iterator itr = Callback.m_Commands.begin(), end = Callback.m_Commands.end(); itr != end; ++itr) { const AStringPair & cmd = *itr; - a_Output.Out(Printf("%-*s%s\n", static_cast(Callback.m_MaxLen), cmd.first.c_str(), (" - " + cmd.second).c_str())); + a_Output.Out(Printf("%-*s - %s\n", static_cast(Callback.m_MaxLen), cmd.first.c_str(), cmd.second.c_str())); } // for itr - Callback.m_Commands[] } -- cgit v1.2.3